import Vue from 'vue'
import App from './App.vue'
import router from '@/router/index.js'//引入路由
import TypeNav from '@/pages/typeNav/typenav.vue'
import {reqBaseCategoryList} from '@/api/api.js'
import store from '@/store/store.js'//引入store
Vue.component(TypeNav.name,TypeNav)//全局注册组件
reqBaseCategoryList()
Vue.config.productionTip = false
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')